export class CourseDetailsData{
  code:number;
  msg:string;
  body:BodyDTO=new BodyDTO();
  tm:number;
}

export class BodyDTO{
  id:string;
  caid:string;
  cuid:string;
  courseName:string;
  cover:string;
  detailCover:string;
  amount:number;
  discountPrice:number;
  price:number;
  tag:string;
  tagList:Array<TagListDTO>;
  lookRecord:LookRecordDTO;
  fullname:string;
  progress:string;
  itemCode:string;
  chapterTotal:number=0;
  avatar:string;
  description:string;
  images:string;
  uid:string;
  title:string;
  videos:string;
  courseDesc:string;
  livePreview:string;
  courseText:string;
  addStudy:string;
  discountPriceStr:string; //折扣价字符串
  amountStr:string; //课程总金额字符串
  priceStr:string;
  singlePrice:string;//章节单价字符串
  studyCount:number=0;
  mindMap:string;//思维导图
  singleStatus:number;//单节购买开关0开启，1关闭
  videoList:Array<VideoListDTO>=[];
}

export class TagListDTO{
  color:string;
  label:string;
}
export class LookRecordDTO{
  courseId:string;
  videoUrl:string;
  courseName:string;
  courseTime:string;
  amount:number;
  price:number;
  auditionStatus:number;
  time:number;
  soundUrl:string;
  singlePrice:number;
}
export class VideoListDTO{
  courseId:string;
  videoUrl:string;
  courseName:string;
  courseTime:string;
  study:string;
  free:string;
  amount:number;
  price:number;
  progress:string;
  downloadStatus:string;
  isDel:boolean;
  isShow:boolean;
  isCheck:boolean;
  playStatus:string;
  mLocalVideoPath:string;
  fileSize:string;
  courseMId:string;
  soundUrl:string;//音频链接
  videoTitle:string;//视频标题
  singlePrice:number;//单节价格
}